<?php
/*  
  Copyright (c) 2010-02 SongCMS 
  SongCMS All Rights Reserved. 
  Support:www.SongCMS.com
  QQ:544255858   19951025
  Author:Song  Version:3.17
  Date:2010-08-12 09:28:32
*/
include_once('Admin.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="./images/adminstyle.css" rel="stylesheet" type="text/css" />
<link rel="Shortcut Icon" href="../favicon.ico">
<link rel="Bookmark" href="../favicon.ico">
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/songajax.js" type="text/javascript"></script>
<script language="javascript">
var displayBar=true;
function switchBar(obj){
	if (displayBar){
		parent.frame.cols="0,*";
		displayBar=false;
		obj.src="images/admin_top_open.gif";
		obj.title="打开左边管理菜单";
		document.getElementById('Text').innerHTML = "打开菜单";
	}else{
		parent.frame.cols="190,*";
		displayBar=true;
		obj.src="images/admin_top_close.gif";
		obj.title="关闭左边管理菜单";
		document.getElementById('Text').innerHTML = "关闭菜单";
	}
}
var startmarquee = function(lh,speed,delay,id){ 
	var t; 
	var p=false; 
	var o=document.getElementById(id); 
	o.innerHTML+=o.innerHTML; 
	o.onmouseover=function(){p=true} 
	o.onmouseout=function(){p=false} 
	o.scrollTop = 0; 
	function start(){ 
		t=setInterval(scrolling,speed); 
		if(!p) o.scrollTop += 2; 
	} 
	function scrolling(){ 
		if(o.scrollTop%lh!=0){ 
			o.scrollTop += 2; 
			if(o.scrollTop>=o.scrollHeight/2) o.scrollTop = 0; 
		}else{ 
			clearInterval(t); 
			setTimeout(start,delay); 
		} 
	} 
	setTimeout(start,delay); 
}
$(document).ready(function(){
	$.getScript(OfficialAnnoURL,function(){
		if(typeof(OfficialAnno) != 'undefined') {								 
			$("#oRight").html(OfficialAnno);
		}
		var xTime = ($.browser.msie) ? 3 : 20;
		startmarquee(28,xTime,5000,'oRight');
	});
});
</script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/admin_top_bg.gif">
  <tr> 
    <td width="32"><img src="images/admin_top_close.gif" alt="关闭左边管理菜单" width="30" height="30" border="0" style="cursor:pointer;" onClick="switchBar(this)"></td>
    <td id="Text" width="70">关闭菜单</td>
    <td><div style="overflow:hidden; height:28px; line-height:28px; font-size:12px; padding-bottom:2px;" id="oRight"></div>
</td>
    <td align="right">
    <?php if($WebStaticHTML==1){?><a target="main" href="HtmlMake.php">生成静态</a>&nbsp;| <?php }?>
    <a target="main" href="Admin.php?Action=ClearAllCache">清空缓存</a>&nbsp;|
    <a target="main" href="Admin.php?Action=ClearCompiledTpl">清空编译</a>&nbsp;|
    <a target="main" href="AdminPassWord.php">修改密码</a>&nbsp;|
    <a target="_top" href="Admin.php?Action=Exit">退出登录</a>&nbsp;|
    <a target="_blank" href="../">前台首页</a>    </td>
 	<td width="10"></td>
  </tr>
</table>
</body>
</html>
